﻿using System;
namespace Pay.DTO.hxdata {
	/// <summary>
	/// 快捷支付请求
	/// </summary>
	public class hx_quickpay_model {
		/// <summary>
		/// 接口类型
		/// </summary>
		public string method { get { return "pay"; } }
		/// <summary>
		/// 进件商户号
		/// </summary>
		public string third_merchant_code { get; set; }
		/// <summary>
		/// 订单时间:商户订单时间格式：YYYYMMDDHHMMSS
		/// </summary>
		public string trans_time { get; set; }
		/// <summary>
		/// 订单日期:YYYYMMDD
		/// </summary>
		public string trans_date { get; set; }
		/// <summary>
		/// 订单金额:单位(分)
		/// </summary>
		public string trans_amount { get; set; }
		/// <summary>
		/// 到账金额:单位分，向下取整
		/// pay_amount=trans_amount-operation_fee-counter_fee_t0
		/// </summary>
		public string pay_amount { get; set; }
		/// <summary>
		/// 手续费:单位分，向上取整，手续费=费率*交易金额operation_fee=trans_amount*(rate_t0/100)
		/// </summary>
		public string operation_fee { get; set; }
		/// <summary>
		/// 单笔消费交易手续费:单位分，每笔固定交易手续费，比如200（2元）
		/// </summary>
		public string counter_fee_t0 { get; set; }
		/// <summary>
		/// 费率:如0.6%笔则填0.60，小数点后最多不超过2位
		/// </summary>
		public string rate_t0 { get; set; }
		/// <summary>
		/// 姓名:如果需同名校验，录入姓名必须和入网时真实姓名一致
		/// </summary>
		public string family_name { get; set; }
		/// <summary>
		/// 身份证号:15位或18位身份证号；如果需同名校验，录入身份证号必须和入网时身份证号一致
		/// </summary>
		public string id_card { get; set; }
		/// <summary>
		/// 支付银行卡号
		/// </summary>
		public string pay_bank_no { get; set; }
		/// <summary>
		/// 支付银行卡预留手机号
		/// </summary>
		public string mobile { get; set; }
		/// <summary>
		/// 结算账号
		/// </summary>
		public string payee_bank_no { get; set; }
		/// <summary>
		/// 总行名称
		/// </summary>
		public string payee_bank_name { get; set; }
		/// <summary>
		/// 总行联行号
		/// </summary>
		public string payee_bank_id { get; set; }
		///// <summary>
		///// 开户行全称
		///// </summary>
		//public string payee_branch_name { get; set; }
		///// <summary>
		///// 开户行全称
		///// </summary>
		//public string payee_branch_code { get; set; }
		///// <summary>
		///// 开户行省份
		///// </summary>
		//public string payee_bank_province { get; set; }
		///// <summary>
		///// 开户行城市
		///// </summary>
		//public string payee_bank_city { get; set; }
		/// <summary>
		/// 前台通知地址URL
		/// </summary>
		public string front_notify_url { get; set; }
		/// <summary>
		/// 后台通知地址URL
		/// </summary>
		public string back_notify_url { get; set; }
	}
	/// <summary>
	/// 支付响应
	/// </summary>
	public class hx_quickpay_model_result {
		/// <summary>
		/// 快捷支付页面（html）
		/// </summary>
		public string page_content { get; set; }
	}
}
